home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.3
/
Video Toaster v4.3.iso
/
3.1
/
toasterall
/
arexx_examples
/
tpaint
/
grid.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-05-13
|
544b
|
31 lines
/* Draw Grid Background */
/* © 1993 NewTek, Inc. by Arnie Cachelin */
arg siz
if siz="" then siz=80
if pos('DigiPaint',show(ports))=0 then do
say "Can't find ToasterPaint!"
exit
end
address 'DigiPaint' /* Tell ARexx where commands go */
'Drre'
'Flof'
'Hvof' /* Toggle Horiz and Vert. Gradient (off) */
'Dotb'
'Bsz2'
'Pmcl'
do y=0 to 482 by siz
'Pend' 0 y
'Penu' 752 y
end
do x=0 to 752 by (siz*1.3333)%1
'Pend' x 0
'Penu' x 482
end
'Shco' /* Render to Program Out */
exit /* Bye bye! */